<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<link type="text/css" rel="stylesheet" href="css/commendBook.css">
<div id="commendBookTitle">
	<div id="commendTitleText">
		推&nbsp;&nbsp;荐&nbsp;&nbsp;图&nbsp;&nbsp;书
	</div>
	<div class="more">
		<a href="${CONTEXT_ROOT}/SpecialBookServlet?method=commend"> <img src="images/more.gif" border="0"> </a>
	</div>
</div>
<div id="commendContentList">
	<c:forEach items="${commendPList.objectList}" var="commendBook">
		<!-- 新书内容展现 -->
		<div id="commendContent">
			<!-- 图片 -->
			<div id="commendImg">
				<a	href="${CONTEXT_ROOT}/SysBookServlet?method=viewBook&bookId=${commendBook.bookId}&parentCategoryId=${commendBook.categoryId}"><img
						src="${CONTEXT_ROOT}/upload/${commendBook.bookImg}" border="0"
						height="110px"> </a>
			</div>
			<div id="commendText">
				<p id="BookName">
					<a	href="${CONTEXT_ROOT}/SysBookServlet?method=viewBook&bookId=${commendBook.bookId}&parentCategoryId=${commendBook.categoryId}">${commendBook.bookName}</a>
				</p>
				<p id="BookPrice">
					<font color="#000">定价:</font>￥${commendBook.bookPrice}
				</p>
				<p id="BookPrice">
					<font color="#000">本店价:</font>￥<fmt:formatNumber
											value="${commendBook.bookPrice*0.85}" pattern=".##"/>
				</p>
				<p id="BookPublish">
					<font color="#000">出版社:<c:forEach
							items="${publishPList.objectList}" var="publish">
					${publish.publishId==commendBook.publishId?publish.publishName:""}
				</c:forEach> </font>
				</p>
			</div>
			<br>
			<div id="commendBuy">
			<a href="${CONTEXT_ROOT}/ShoppingCartServlet?method=add&bookId=${commendBook.bookId}"><img src="images/che.jpg" border="0" height="20px"></a>
			</div>
		</div>
	</c:forEach>
</div>